package com.java.service;

import java.util.Date;
import java.util.List;

import com.java.entity.BsScore;
import com.java.entity.BsScoreRecord;
import com.java.entity.BsStudent;
import com.java.entity.dtoVo.BsStudentDto;
import com.java.util.resp.BaseRespone;
import com.java.util.resp.TableRespone;

public interface BsStudentService {

	public BaseRespone login(String number, String password);

	public BaseRespone register(String number, String password, String name, String college,
			String classs, String major, Date intake);
	
	public TableRespone getStudentList(String number, String name, Integer active, int page, int size);

	public BaseRespone studentActive(String id, Integer active);
	
	public BsStudent getStudent(String studentId);
	
	public BsStudent getStudentNum(String studentNumber);

	public BaseRespone update(BsStudent student);

	public BaseRespone updateByAdmin(BsStudent student);

	public BaseRespone saveBatch(List<BsStudentDto> students);
	
	/**
	 * 成绩操作
	 */
	public TableRespone getScores(String studentId, String title, String typeId, int page, int size);

	public TableRespone getScoresMore(String scoreId, int page, int size);
	
	public BaseRespone saveScore(BsScore score);

	public BaseRespone reLoadScore(String scoreId);
	
	public BaseRespone delScore(String scoreId);
	
	/**
	 * 成绩目标记录
	 */

	public TableRespone getRecords(String scoreId);
	
	public BaseRespone saveRecord(BsScoreRecord record);
	
	public BaseRespone delRecord(String recordId);
}
